/*
 * @Description: 
 * @Author: paddies
 * @Date: 2024-11-17 21:59:28
 * @LastEditors: paddies
 * @LastEditTime: 2024-11-21 12:03:49
 * @FilePath: /shared_components/lib/luntai-components/new-login-panel/components/buildCommon.dart
 */
import 'package:flutter/material.dart';

Widget buildTitle({String title = ''}) {
  return Text(
    title,
    style: const TextStyle(
        fontSize: 18,
        fontWeight: FontWeight.bold,
        overflow: TextOverflow.ellipsis),
  );
}

Widget buildSmallTitle({String title = ''}) {
  return Text(
    title,
    style: const TextStyle(fontSize: 16, color: Color(0xff999999)),
  );
}

Widget buildContainer({required Widget child}) {
  return Container(
    width: double.infinity,
    padding: const EdgeInsets.only(left: 30, right: 30, bottom: 30),
    child: child,
  );
}
